home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 November / Freeware November 1998.img / dist / fw_UDELxntp.idb / usr / freeware / src / xntp-3.4o-export / include / ntp_if.h.z / ntp_if.h
C/C++ Source or Header  |  1998-01-21  |  1KB  |  48 lines

  1. /*
  2.  * Sockets are not standard.
  3.  * So hide uglyness in include file.
  4.  */
  5. #if defined(SYS_CONVEXOS9)
  6. #include "/sys/sync/queue.h"
  7. #include "/sys/sync/sema.h"
  8. #endif
  9.  
  10. #if defined(SYS_AIX)
  11. #include <sys/time.h>
  12. #include <time.h>
  13. #endif
  14.  
  15. #if (defined(SOLARIS) && !defined(bsd)) || defined(SYS_SUNOS4)
  16. #include <sys/sockio.h>
  17. #endif
  18.  
  19. #if defined(SYS_UNIXWARE1)
  20. #include <sys/sockio.h>
  21. #endif
  22.  
  23. #if defined(SYS_PTX) || defined(SYS_SINIXM)
  24. #include <sys/stream.h>
  25. #include <sys/stropts.h>
  26. #endif
  27.  
  28. #if defined(SYS_SVR4)
  29. #if !defined(USE_STREAMS_DEVICE_FOR_IF_CONFIG)
  30. #include <sys/sockio.h>
  31. #else /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */
  32. #include <netinet/ip.h>
  33. #undef SIOCGIFCONF
  34. #undef SIOCGIFFLAGS
  35. #undef SIOCGIFADDR
  36. #undef SIOCGIFBRDADDR
  37. #undef SIOCGIFNETMASK
  38. #define SIOCGIFCONF    IPIOC_GETIFCONF
  39. #define SIOCGIFFLAGS    IPIOC_GETIFFLAGS
  40. #define SIOCGIFADDR    IPIOC_GETIFADDR
  41. #define SIOCGIFBRDADDR IPIOC_GETIFBRDADDR
  42. #define SIOCGIFNETMASK IPIOC_GETIFNETMASK
  43. #endif /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */
  44.  
  45. #endif /* SYS_SVR4 */
  46.  
  47. #include <net/if.h>
  48.